home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated Page 1
-
-
- TO PRINT THIS FILE, TYPE "COPY PROPR.DOC PRN" AT THE DOS PROMPT.
-
-
- OVERVIEW
- --------
- PROPR is a command-line utility which allows you to send ANY commands
- to your IBM Proprinter compatible printer. PROPR has over 50 built-in
- commands, and it also gives you the ability to create and store your
- own, using binary, octal, decimal, hex, and text codes. Commands can
- be stacked, and they can be sent to any device or file.
-
-
- DISCLAIMER
- ----------
- PROPR is distributed on an "AS IS" basis without warranty, expressed
- or implied. Considerable testing effort has been expended, but the
- user is advised to check the program's suitability before relying on
- it. The user assumes full risk as to the results of using this
- program. In no event shall the author be liable for any incidental or
- consequential damages arising from the use, or inability to use this
- program.
-
-
- REGISTRATION
- ------------
- PROPR is freely distributable and fully functional, and may be used
- for a 30-day trial period. If you plan to continue using PROPR, you
- are obligated to pay the modest registration fee of $10. This one-time
- fee allows you unlimited use of this and all future versions of PROPR.
-
- All registration information is contained in the PROPR.REG file. If
- that file is missing, register by sending a check or money order for
- $10 in U.S. dollars to:
-
- Copy Con Incorporated
- PO Box 23255
- Baltimore MD 21203-5255
-
- We thank you for your support.
-
-
-
- PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated Page 2
-
-
- OPERATION
- ---------
- PROPR is activated from the command line, using the format
-
- PROPR [/device] command[-] [command[-]]...
-
- By default, PROPR sends commands to the LPT1 device. To specify
- another, use the /device switch, specifying a valid device or
- filename; for example,
-
- PROPR /lpt2 reset
-
- sends the reset command to the device connected to LPT2.
-
- PROPR has over 50 built-in commands, and they can be sent individually
- or combined with other commands. A command directly followed by a -
- (minus sign) disables the command, where applicable; for example,
-
- PROPR italic underline-
-
- enables italics and disables underlining.
-
- Commands do not need to be typed out in their entirety; only as much
- of the command that distinguishes it from other commands is needed;
- for example, when sending subscript and superscript commands,
- "PROPR su" would send subscript because it alphabetically precedes
- superscript; "PROPR sup" would send superscript. When using PROPR
- inside batch files, it is a good idea to use the full command, as
- future versions of PROPR may have more built-in commands that may be
- similar to existing commands.
-
-
- BUILT-IN COMMANDS
- -----------------
-
- Command Description
-
- 1/6 Sets paper feed amount to 1/6 inch
- 1/8[-] Sets paper feed amount to 1/8 inch
- 7/72[-] Sets paper feed amount to 7/72 inch
- AutoLF[-] Automatically send a LF after a CR
- BackSpace Prints buffer and backspaces one space
- Bell Sounds buzzer
- BoldPS[-] Selects Bold PS font
- Cancel Clears all data in the buffer
- Char Print continuously from All Character Chart
- Char1 Print next character from All Character Chart
- Compressed[-] Sets printing to 17 CPI
- Courier[-] Selects Courier font
- CR Prints buffer and starts next line at left margin
- DeSelect[-] Disables printer from receiving data
- Double[-] Sets double printing
- Draft[-] Selects Draft font
- Elite[-] Sets printing to 12 CPI
-
-
-
- PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated Page 3
-
-
- BUILT-IN COMMANDS (continued)
- -----------------------------
-
- Command Description
-
- Emphasized[-] Sets printing to twice the original dot density
- Escape Sends the escape ($1B) code
- FF Prints buffer and feeds paper to next TOF position
- Flush Prints all data in buffer
- HalfLF Prints buffer and feeds paper 1/12 inch
- IBM1 Selects IBM 1 character set
- IBM2 Selects IBM 2 character set
- Italic[-] Selects Italic font
- LF Prints buffer and executes a single line feed
- Multilingual Selects Multilingual character set
- NLQ[-] Selects NLQ font
- Null Sends the null ($00) code
- Overline[-] Sets continuous overlining of characters
- PaperOut[-] Enables paper out detector
- Pica[-] Sets printing to 10 CPI
- Prestige[-] Selects Prestige font
- Proportional[-] Sets proportional spacing between characters
- Reset Resets printer to initial state
- Roman[-] Selects Roman font
- SansSerif[-] Selects Sans Serif font
- Script[-] Selects Script font
- Select[-] Enables printer to receive data
- Single[-] Sets single direction printing mode
- SubScript[-] Selects subscript font
- SuperScript[-] Selects superscript font
- Tab Sends the horizontal tab ($09) code
- TabClear Sets all tabs to initial settings
- Tall[-] Sets double height character printing
- TOF Sets top of form
- Underline[-] Sets continuous underlining of characters
- USA Selects USA character set
- VTab Sends the vertical tab ($11) code
- Wide[-] Sets double width character printing
- Wide1[-] Sets double width character printing for one line
-
-
- CREATING NEW COMMANDS
- ---------------------
- If you want to send a code that is not already built-in, you can
- create your own using binary, octal, decimal, hex, and text codes.
- Binary codes must be preceded with the % symbol, octal with the &
- symbol, + for decimal, $ for hex, and ' for text; for example,
-
- PROPR $1b 'P +1
-
- sends 1B in hex, 'P' in text, and 1 in decimal. To send an entire text
- string, you still use the ' symbol, but you must also enclose the
- entire string in quotes; for example,
-
- PROPR bold "'one two three" bold-
-
- prints "one two three" in bold.
-
-
-
- PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated Page 4
-
-
- CREATING NEW COMMANDS (continued)
- ---------------------------------
- Strings of codes can be assigned a command name and stored in a
- separate data file called PROPR.DAT, which must be kept in the same
- directory as PROPR.EXE. PROPR.DAT will be searched first in case you
- wish to redefine the internal commands. The format of each line of the
- data file is as follows:
-
- command_name code [code]... [ - code [code]... ]
-
- The name must be left-justified (no left margin), and it cannot
- contain any spaces. Following the name are the codes that enable the
- command. If the command can be disabled, the enabling codes are
- followed by a minus sign and the codes that disable the command. The
- name, codes, and minus sign must be separated by spaces and/or tabs.
- There is no limit to the number of commands, but there can only be one
- command name per line.
-
- For example, let's create a new command called SkipPerf. The codes to
- skip six lines at the bottom of each page are $1b, 'N, and +6. Using
- any text editor, we create PROPR.DAT with the first line reading:
-
- SkipPerf $1b 'N +6
-
- Now, if we type "PROPR skip", $1b, 'N, and +6 will be sent. What if we
- want to disable perforation skip? First, let's edit PROPR.DAT to read:
-
- SkipPerf $1b 'N +6 - $1b 'O
-
- Now, if we type "PROPR skip-", $1b and 'O will be sent, which are the
- codes to disable perforation skip.
-
-
- EXAMPLES
- --------
- PROPR
- will show a help screen and a list of built-in commands.
-
- PROPR ff
- sends a formfeed to the printer attached to LPT1.
-
- PROPR /lpt2 ff
- sends a formfeed to the printer attached to LPT2.
-
- PROPR bold under- italic-
- enables bold text, and disables underlining and italics.
-
- PROPR esc 'W +1
- sends the escape code, the letter W, and character 1.
-
- PROPR "'line one" cr lf wide "'line two" wide- cr lf
- prints two lines, the second one being of double width.
-
- PROPR /hi.txt tall wide bold under "'hello there" cr lf
- sends "hello there" in tall, wide, bold, underlined characters, to
- the file HI.TXT, which can be printed by typing "copy hi.txt lpt1".
-
-
-
- PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated Page 5
-
-
- CORRESPONDENCE
- --------------
- If you have questions, comments, suggestions, bug reports, et cetera,
- feel free to contact us by one of the following methods:
-
- 1: By modem at The Programmer's Corner (301-596-7692 or 410-995-6873).
- Send a message to user number 3000, and check back in a couple of
- work days for a reply.
-
- 2: By U.S. Mail at the address given on the first page. If you would
- like a reply, please include a self-addressed, stamped envelope.
-
- We look forward to hearing from you.
-